import Vue from "vue";
import App from "./App.vue";
import router from "@/router";
import TypeNav from "@/components/TypeNav/TypeNav";
import SwiperLoop from '@/components/SwiperLoop/SwiperLoop'
// import "@/api/index";
import store from "@/store/index";
import '@/mock/index'
Vue.config.productionTip = false;
Vue.component("TypeNav", TypeNav);
Vue.component("SwiperLoop", SwiperLoop);

new Vue({
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
